package cn.itcast.n4_共享模型_管程;

import lombok.extern.slf4j.Slf4j;
import org.openjdk.jol.info.ClassLayout;

/**
 * @program: juc
 * @description:
 * @author: flyduck
 * @create: 2024-09-25 16:09
 **/
@Slf4j(topic = "c.Test10_偏向锁状态_由于偏向锁延迟新创建对象的markword状态是001")
public class  Test10_偏向锁状态_由于偏向锁延迟新创建对象的markword状态是001{
    public static void main(String[] args) {
        Dog dog = new Dog();
        log.debug("jvm启动后新创建对象的mark word:{}",ClassLayout.parseInstance(dog).toPrintableSimple());//00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
    }
}

class Dog{

}
